package com.edu.cuotibook.dao.mapper;

import com.edu.cuotibook.entity.pojo.ExamPaper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ExamPaperDao {

    int insertSelective(@Param("pojo") ExamPaper pojo);

    int insertList(@Param("pojos") List<ExamPaper> pojo);

    int update(@Param("pojo") ExamPaper pojo);

    List<ExamPaper> select(@Param("pojo")ExamPaper paper);

    ExamPaper selectById(Long id);

    void initSql();

}
